package org.itboys.baseobject.entity;

import java.util.List;

import org.itboys.admin.entity.BaseAdminEntity;
import org.itboys.baseobject.dto.Point;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

@Entity(value = "OpenedArea", noClassnameStored = true)
public class OpenedArea extends BaseAdminEntity{

	@Indexed
	private long cityId;
	private String name;//商圈名
	private String desc;//商圈描述
	private long openTime;
	private long closedTime;
	private int status;//1:开通 0:关闭
	private List<Point> points;//商圈的多边形各个点的经纬度锚点
	public long getCityId() {
		return cityId;
	}
	public void setCityId(long cityId) {
		this.cityId = cityId;
	}
	public long getOpenTime() {
		return openTime;
	}
	public void setOpenTime(long openTime) {
		this.openTime = openTime;
	}
	public long getClosedTime() {
		return closedTime;
	}
	public void setClosedTime(long closedTime) {
		this.closedTime = closedTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public List<Point> getPoints() {
		return points;
	}
	public void setPoints(List<Point> points) {
		this.points = points;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
